package com.flyduck.mall.oms.h5.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.flyduck.mall.oms.h5.vo.*;


public interface H5OrderService {
    H5OrderPreviewRespVO previewOrder(H5OrderPreviewReqVO h5OrderPreviewReqVO);

    String createOrder(H5OrderCreateReqVO h5OrderCreateReqVO);

    H5OrderTotalCountRespVO getOrderTotalCount();

    Page<H5OrderRespVO> getOrderPageByStatus(Page page, Integer status);

    H5OrderDetailsRespVO getOrderDetailsById(Long orderId);

    void cancelOrderById(Long orderId);

    void deleteById(Long orderId);

    void confirmOrderById(Long orderId);


}
